package com.celesea.workflow.core.vo;

import com.celesea.framework.vo.DictionaryVo;
import com.celesea.workflow.core.v1.controller.request.PermissionRequest;
import org.springframework.beans.BeanUtils;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-12-01 20:54
 */
public class PermissionVo {
    private String workflowType;

    private List<DictionaryVo> submitUser;

    private List<DictionaryVo> submitRole;

    private List<DictionaryVo> submitDept;

    private List<DictionaryVo> submitGroup;



    private List<DictionaryVo> statisticsUser;

    private List<DictionaryVo> statisticsRole;

    private List<DictionaryVo> statisticsDept;

    private List<DictionaryVo> statisticsGroup;



    private List<DictionaryVo> defineUser;

    private List<DictionaryVo> defineRole;

    private List<DictionaryVo> defineDept;

    private List<DictionaryVo> defineGroup;

    public PermissionVo(PermissionRequest request) {
        BeanUtils.copyProperties(request,this);
    }

    public String getWorkflowType() {
        return workflowType;
    }

    public void setWorkflowType(String workflowType) {
        this.workflowType = workflowType;
    }

    public List<DictionaryVo> getSubmitUser() {
        return submitUser;
    }

    public void setSubmitUser(List<DictionaryVo> submitUser) {
        this.submitUser = submitUser;
    }

    public List<DictionaryVo> getSubmitRole() {
        return submitRole;
    }

    public void setSubmitRole(List<DictionaryVo> submitRole) {
        this.submitRole = submitRole;
    }

    public List<DictionaryVo> getSubmitDept() {
        return submitDept;
    }

    public void setSubmitDept(List<DictionaryVo> submitDept) {
        this.submitDept = submitDept;
    }

    public List<DictionaryVo> getSubmitGroup() {
        return submitGroup;
    }

    public void setSubmitGroup(List<DictionaryVo> submitGroup) {
        this.submitGroup = submitGroup;
    }

    public List<DictionaryVo> getStatisticsUser() {
        return statisticsUser;
    }

    public void setStatisticsUser(List<DictionaryVo> statisticsUser) {
        this.statisticsUser = statisticsUser;
    }

    public List<DictionaryVo> getStatisticsRole() {
        return statisticsRole;
    }

    public void setStatisticsRole(List<DictionaryVo> statisticsRole) {
        this.statisticsRole = statisticsRole;
    }

    public List<DictionaryVo> getStatisticsDept() {
        return statisticsDept;
    }

    public void setStatisticsDept(List<DictionaryVo> statisticsDept) {
        this.statisticsDept = statisticsDept;
    }

    public List<DictionaryVo> getStatisticsGroup() {
        return statisticsGroup;
    }

    public void setStatisticsGroup(List<DictionaryVo> statisticsGroup) {
        this.statisticsGroup = statisticsGroup;
    }

    public List<DictionaryVo> getDefineUser() {
        return defineUser;
    }

    public void setDefineUser(List<DictionaryVo> defineUser) {
        this.defineUser = defineUser;
    }

    public List<DictionaryVo> getDefineRole() {
        return defineRole;
    }

    public void setDefineRole(List<DictionaryVo> defineRole) {
        this.defineRole = defineRole;
    }

    public List<DictionaryVo> getDefineDept() {
        return defineDept;
    }

    public void setDefineDept(List<DictionaryVo> defineDept) {
        this.defineDept = defineDept;
    }

    public List<DictionaryVo> getDefineGroup() {
        return defineGroup;
    }

    public void setDefineGroup(List<DictionaryVo> defineGroup) {
        this.defineGroup = defineGroup;
    }
}
